package org.springframework.web.servlet.mvc.condition;

import javax.servlet.http.HttpServletRequest;

import org.springframework.lang.Nullable;

public interface RequestCondition<T> {

	T combine(T other);

	@Nullable
	T getMatchingCondition(HttpServletRequest request);

	int compareTo(T other, HttpServletRequest request);
}
